package com.imc.platform.base.wxOauth2Token.http;

import com.alibaba.fastjson.JSONObject;
import com.imc.core.config.feign.IBaseRequest;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(url = "${service.oauth2Token.wx}",name = "wxOauth2TokenService")
public interface WxOauth2TokenService extends IBaseRequest {
    @GetMapping(
            "/sns/jscode2session"
    )
    String oauthLogin(@RequestParam Map<String,Object> param);
}
